--- wine-1.5.19/server/file.h	2012-12-07 19:17:32.000000000 +0000
+++ wine-1.5.19.patched/server/file.h	2012-12-19 03:29:07.092000002 +0000
@@ -22,7 +22,7 @@
 #define __WINE_SERVER_FILE_H
 
 #include "object.h"
-
+#include <fcntl.h>
 struct fd;
 struct mapping;
 struct async_queue;
